﻿<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="sysModuleAdd.aspx.cs" Inherits="mydddd.Web.sysModule.Add" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <f:PageManager ID="PageManager1" runat="server" AutoSizePanelID="RegionPanel1" FormLabelWidth="135px" />

        <f:RegionPanel ID="RegionPanel1" ShowBorder="false" runat="server">
            <Regions>

                <f:Region ID="Region2" RegionSplit="true" Width="200px"
                    ShowHeader="false"
                    EnableCollapse="true" Layout="Fit" RegionPosition="Left" runat="server">
                    <Items>

                        <f:Tree ID="Tree1" Width="650px"  ShowHeader="true" Title="页面路径" runat="server" OnNodeCheck="Tree1_OnNodeCheck" >
                            <Nodes>
                                <f:TreeNode Text="顶级" NodeID="0" EnableCheckEvent="True" EnableCheckBox="True" Expanded="True" />
                            </Nodes>
                          
                        </f:Tree>

                    </Items>
                </f:Region>

                <f:Region ID="mainRegion" ShowHeader="false" Position="Center"
                    runat="server" Layout="Fit">

                    <Items>



                        <f:Form ID="form_Edit" ShowBorder="false" ShowHeader="false" runat="server" AutoScroll="true"
                            EnableCollapse="true" BodyPadding="15px 15px">
                            <Rows>

                                <f:FormRow runat="server" ColumnWidths="50% 50%">
                                    <Items>
                                        <f:Label ID="parentID" runat="server" Label="父id" />
                                        <f:Label ID="modulePath" runat="server" Label="父绝对路径" />
                                    </Items>
                                </f:FormRow>
                                <f:FormRow runat="server" ColumnWidths="50% 50%">
                                    <Items>
                                        <f:TextBox ID="moduleName" runat="server" Label="页面名称" />
                                        <f:TextBox ID="moduleUrl" runat="server" Label="URL地址" />
                                    </Items>
                                </f:FormRow>
                                <f:FormRow runat="server" ColumnWidths="80% 20%">
                                    <Items>
                                        <f:TriggerBox ID="moduleIcon1" EnablePostBack="false" TriggerIcon="Search" Label="图标地址" runat="server" />

                                        <f:Label ID="icon2" runat="server" EncodeText="False" />
                                    </Items>
                                </f:FormRow>
                                <f:FormRow runat="server" ColumnWidths="50% 50%">
                                    <Items>
                                        <f:NumberBox ID="sort" runat="server" Label="排序" Text="1000" Required="True" ShowRedStar="True" />
                                        <f:RadioButtonList ID="status" runat="server" Label="状态显示" Required="True" ShowRedStar="True">
                                            <f:RadioItem Text="显示" Value="1" />
                                            <f:RadioItem Text="不显示" Value="0" />
                                        </f:RadioButtonList>
                                    </Items>
                                </f:FormRow>

                                <f:FormRow runat="server">
                                    <Items>
                                        <f:TextBox ID="info" runat="server" Label="备注信息"></f:TextBox>
                                    </Items>
                                </f:FormRow>


                            </Rows>
                            <Toolbars>
                                <f:Toolbar ID="Toolbar1" runat="server" Position="Bottom">
                                    <Items>
                                        <f:ToolbarFill ID="ToolbarFill1" runat="server">
                                        </f:ToolbarFill>
                                        <f:Button ID="Button_save" runat="server" ValidateForms="form_Edit" Text="保存" Icon="SystemSaveNew"
                                            OnClick="Button_save_OnClick">
                                        </f:Button>


                                    </Items>
                                </f:Toolbar>
                            </Toolbars>

                        </f:Form>
                    </Items>

                </f:Region>
            </Regions>
        </f:RegionPanel>

        <f:Window ID="Window1" runat="server" Height="600px" Width="800px" IsModal="true" EnableMaximize="True"
            CloseAction="HidePostBack" EnableIFrame="True" Hidden="True" Icon="ApplicationFormEdit"
            Target="Top" EnableResize="True">
        </f:Window>


    </form>

</body>
</html>
